<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
</html>
<script>
  let a = {
      name: '李瑞',
      sex: '男',
      age: 25,
      length: 3
  }
  const b = {
      0: '张三',
      1: '男',
      2: 25,
      length: 3
  }
  const c = {
      0: 1,
      1: 2,
      2: 3,
      length: 3
  }
  console.log(Array.from(a))
  console.log(Array.from(b))
  console.log(Array.from(c))
</script>
